<div class="pageHeader">
<form id="pagerForm" action="__URL__" method="post">
	
	
	<input type="hidden" name="orderField" value="{$_REQUEST.orderField}">
        <input type="hidden" name="orderDirection" value="{$_REQUEST.orderDirection}">
    <input type="hidden" name="pageNum" value="{$_REQUEST['pageNum']|default=1}"/>
	<input type="hidden" name="numPerPage" value="{$numPerPage}"/>
	 
    
</form>
<form onsubmit="return navTabSearch(this);" id="cateform"  class="form-inline" action="__URL__" method="post">
                               
                                <div class="form-group" size="20">
                <label>分类类型：</label>
               
               <select name="type" data-container="body"  id="j_type" class="selectpicker show-tick" data-style="btn-default btn-sm" data-width="auto">
                               <volist name="Think.config.CATE_TYPE" id="type">
						<option <if condition="S('catetype') eq $key">selected</if> value="{$key}">{$type}</option>
					</volist>
                 </select>
            </div>
            <script type="text/javascript">


$(function(){
	$('#j_type').change(function(){

		
		$('#cateform').submit();
	});
});
</script>
                                  <div class="form-group">

                                     <a href="__URL__/add" target="dialog" rel="useradd" mask="false" minable="true" width="500" height="400" class="btn btn-primary btn-sm"><i class="icon-plus"></i> 新增</a>
                                 
                                  </div>
                                   
                                 <div class="pull-right btn-group">
                                  <button data-toggle="dropdown" class="btn btn-success dropdown-toggle btn-sm" type="button"><i class="icon-list"></i> 批量操作<span class="caret"></span></button>
                                  <ul role="menu" class="dropdown-menu">
                                  <div class="log-arrow-up"></div>
                                      
                                      <li><a href="__URL__/selectedDelete"  title="确定要删除选中信息吗？" target="checkedAjaxTodo" idname="ids">删除选中</a></li>
                                  </ul>
                                </div>
</form>

    
</div>



<div class="pageContent" layoutH="1">
    <table class="table" width="100%">
        <thead>
            <tr>
            
            <th></th>
				<th width="400">分类</th>
			    <th class="orderby <eq name="order" value="status">{$sortImg}</eq>" orderField="status">状态</th>
               <th>排序</th>
               <th>会员权限</th>
               <th>类型</th>
                <th width="30"><input type="checkbox" class="checkboxCtrl j-icheck" group="ids"></th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>

           <volist id="vo" name="list">
            <tr> <td></td>
					<td>{$vo['name']}</td>
					
		            <td>{$vo['status']|getStatus}</td>
		             <td>{$vo['ordid']}</td>
		             <td>会员{$vo['enable']|getenablename=3}发布文章</td>
		             <td>{$vo['type']|get_cate_type}</td>
                <td><input type="checkbox" name="ids" class="j-icheck" value="{$vo['id']}"></td>
                <td>
                <div class="btn-group  btn-group-xs">
                 <a href="__URL__/edit/id/{$vo['id']}/navTabId/{:CONTROLLER_NAME}"   class="btn btn-primary" target="dialog"  mask="true"  width="500" height="400" ><i class="icon-edit"></i> 编辑</a>
                    {$vo['status']|showStatus=$vo['id'],CONTROLLER_NAME}
                    <a href="__URL__/foreverdelete/id/{$vo['id']}/navTabId/{:CONTROLLER_NAME}" class="btn btn-danger" target="ajaxTodo" title="确定要删除该行信息吗？"><i style="font-size:12px;" class="icon-trash"></i> 删除</a>
                    </div>
                </td>
            </tr>
           
          </volist>
        </tbody>
    </table>

</div>